
<div>
  <h3>${command.name}</h3>

  <h4 class="gcli-help-header">
    ${l10n.helpManSynopsis}:
    <span class="gcli-out-shortcut" onclick="${onclick}" data-command="${command.name}">
      ${command.name}
      <span foreach="param in ${command.params}">
        ${param.defaultValue !== undefined ? '[' + param.name + ']' : param.name}
      </span>
    </span>
  </h4>

  <h4 class="gcli-help-header">${l10n.helpManDescription}:</h4>

  <p class="gcli-help-description">${describe(command)}</p>

  <div if="${command.exec}">
    <h4 class="gcli-help-header">${l10n.helpManParameters}:</h4>

    <ul class="gcli-help-parameter">
      <li if="${command.params.length === 0}">${l10n.helpManNone}</li>
      <li foreach="param in ${command.params}">
        ${param.name} <em>${getTypeDescription(param)}</em>
        <br/>
        ${describe(param)}
      </li>
    </ul>
  </div>

  <div if="${!command.exec}">
    <h4 class="gcli-help-header">${l10n.subCommands}:</h4>

    <ul class="gcli-help-${subcommands}">
      <li if="${subcommands.length === 0}">${l10n.subcommandsNone}</li>
      <li foreach="subcommand in ${subcommands}">
        <strong>${subcommand.name}</strong>:
        ${subcommand.description}
        <span class="gcli-out-shortcut" data-command="help ${subcommand.name}"
            onclick="${onclick}" ondblclick="${ondblclick}">
          help ${subcommand.name}
        </span>
      </li>
    </ul>
  </div>

</div>
